// 过滤文件
const filterFileFolder = [
  '.umi',
  'base',
  'context',
  'errorBoundary',
  'hooks',
  'util',
  'interface',
  'loading',
  'theme',
];

const filterTitle = ['基础', '分组', '堆叠', '密度'];
const exampleBaseUrl = 'https://antv-g2plot.gitee.io';
const chartNames = {
  Line: '折线图',
  Bar: '条形图',
  Area: '面积图',
  Column: '柱状图',
  Pie: '饼图',
  Rose: '玫瑰图',
  Chord: '弦图',
  Bubble: '气泡图',
  Calendar: '日历图',
  DualAxes: '混合图',
  Funnel: '漏斗图',
  Bullet: '子弹图',
  Gauge: '仪表盘',
  Heatmap: '热力图',
  Histogram: '直方图',
  Liquid: '水波图',
  Progress: '迷你图',
  Radar: '雷达图',
  Stock: '蜡烛图',
  Box: '箱线图',
  RadialBar: '玉环图',
  RingProgress: '环形进度条',
  Scatter: '散点图',
  Sunburst: '旭日图',
  Sankey: '桑基图',
  WordCloud: '词云图',
  Treemap: '矩形树图',
  MultiView: '多图层图表',
  BidirectionalBar: '对称条形图',
  Waterfall: '瀑布图',
  Advanced: '高级用法',
  General: '图表通用配置',
  TinyArea: '迷你面积图',
  TinyColumn: '迷你柱状图',
  TinyLine: '迷你折线图',
};

// 维护 G2Plot examples 特殊 层级关系
const ChartsLevel = {
  BidirectionalBar: '/more-plots',
  Box: '/more-plots',
  Funnel: '/more-plots',
  Histogram: '/more-plots',
  Radar: '/more-plots',
  RadialBar: '/more-plots',
  Stock: '/more-plots',
  Sunburst: '/more-plots',
  Treemap: '/more-plots',
  Waterfall: '/more-plots',
  WordCloud: '/more-plots',
  Progress: '/tiny',
  RingProgress: '/tiny',
  TinyArea: '/tiny',
  TinyLine: '/tiny',
  TinyColumn: '/tiny',
  Bullet: '/progress-plots',
  Gauge: '/progress-plots',
  Liquid: '/progress-plots',
  Chord: '/relation-plots',
  Sankey: '/relation-plots',
  Bullet: '/progress-plots',
  Gauge: '/progress-plots',
  Liquid: '/progress-plots',
  MultiView: '/plugin',
};

module.exports = { filterFileFolder, filterTitle, exampleBaseUrl, chartNames, ChartsLevel };
